package com.itheima.service;

import com.itheima.domain.Orders;
import org.springframework.stereotype.Service;

import java.util.List;


public interface OrdersService {

    /*
    * 分页查询所有账单
    * */
    List<Orders> findAll(int page,int size) throws Exception;

    /*
    * 查询订单详细信息
    * */
    Orders findById(String id) throws Exception;
}
